/**
 * Copyright © 2018 陈锦韬  All rights reserved.
 * 
 * @Package: com.rx.service.inner 
 * @author: Administrator   
 * @date: 2018年3月16日 下午10:27:26
 */
package com.rx.service.inner;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.rx.core.exp.BizException;

/**
 * @className: TestService 
 * @author: Administrator
 * @Description: TODO
 * @date: 2018年3月16日 下午10:27:26
 */
@FeignClient(value="rx-core")
@RequestMapping(value="test")
public interface TestService {
    @RequestMapping(value="test1",method=RequestMethod.GET, produces = "application/json; charset=utf-8")
    public String test1(@RequestParam(value="information",defaultValue="") String information)  throws ClassNotFoundException, BizException;

    @RequestMapping(value="test2",method=RequestMethod.POST, produces = "application/json; charset=utf-8")
    public String test2(@RequestParam(value="information",defaultValue="") String information)  throws ClassNotFoundException, BizException;
}
